package com.glor.operation.common;

import java.nio.charset.Charset;

/**
 * Created by heylear.cai on 2016/2/18.
 */
public interface Constants {
    String DES_KEY = "tiOTXYlL6rPaQBWuf84yxkRZY2ltFisp";

    Charset DEFAULT_CHARSET = Charset.forName("UTF-8");

    int SC_DELETED = 1;

    int SC_UN_DELETE = 0;

    String ORG_HIBERNATE_CACHEABLE = "org.hibernate.cacheable";

    String SLASH = "/";

    String COMMA_REG = "\\s*,\\s*";

    String COMMA = ",";

    int MESSAGE_CODE_LENGTH = 6;

    int MESSAGE_CONTENT_MAX_LENGTH = 256;

    int MESSAGE_EXPIRES_MINUTE = 15;

    String MOBILE_REG = "^1\\d{10}$";

    int TOKEN_CODE_LENGTH = 64;

    int TOKEN_CODE_EXPIRES_IN = 7200;

    String DOT = ".";
}
